package com.itheima.service.mongo;

import com.itheima.domain.mongo.Visitor;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface VisitorService {


    // 查询最近5个访客
    List<Visitor> findeAccessUser(Long userId,Long lastLoginTime);

    /**
     * 分页查询谁看过我
     * @Author: bug
     */
    PageBeanVo findVisitorByPage(Long userId, Integer pageNum, Integer pageSize);
}